<head>
<script type="text/javascript" src="jquery-1.4.2.min.js"></script>
<script type="text/javascript" src="jquery-rating.js"></script>
<link rel="stylesheet" type="text/css" href="rating.css" />
<script type="text/javascript">
	var hasVoted = false;
$(document).ready(function() {
	$('#star1').rating('example.php', {maxvalue: 5});
	alert($('#star1').rating);
	$('#star2').rating('example.php', {maxvalue:1, curvalue:1});
	$('#rate1').rating('example.php', {maxvalue:5,increment:.5});
	$('#rate2').rating('example.php', {maxvalue:5, curvalue:3});
});
</script>

</head>
<body>
<div id="star1" class="rating">&nbsp;</div>
<div class="implementation">
<pre>$('#star1').rating('www.url.php', {maxvalue:1});</pre>
</div>

</body>